import httpRequest from "@/http"
import { type MyResponseType } from "@/bean/base/response";
import { type MyPageResponseType } from "@/bean/base/page";
import { MkTimeStatusType } from "@/bean/mk/MkTimeStatus";


export const getTimeStatusVoListApi = (params:Object) => {
    return httpRequest.post<MyResponseType<MyPageResponseType<MkTimeStatusType>>>("/mk/timeStatus/getTimeStatusVoList",params);
}

export const timeStatusListApi = (params:Object) => {
    return httpRequest.post<MyResponseType<MyPageResponseType<MkTimeStatusType>>>("/mk/timeStatus/list",params);
}


export const addTimeStatusApi = (params:Object) => {
    return httpRequest.post<MyResponseType<object>>("/mk/timeStatus/add",params);
}


export const updateTimeStatusApi = (params:Object) => {
    return httpRequest.post<MyResponseType<object>>("/mk/timeStatus/update",params);
}

export const delTimeStatusApi = (params:Object) => {
    return httpRequest.postLink<MyResponseType<object>>(`/mk/timeStatus/delete`,params);
}